package com.aabte.auth.account.resource.api.group;

import lombok.Getter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Getter
@ToString
public class AddRoleCommand {
    @NotBlank
    @Pattern(regexp = "^[a-z0-9]{32}$")
    private String groupId;

    @NotBlank
    @Pattern(regexp = "^[a-z0-9]{32}$")
    private String roleId;
}
